﻿<html data-dpr="2">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta content="telephone=no" name="format-detection">
<meta name="baidu-site-verification" content="">
<title>分类</title>
<meta content="" name="keywords">
<meta content="" name="description">
<meta name="sogou_site_verification" content="">
<meta name="baidu-tc-cerfication" content="">
<meta name="360-site-verification" content="">
<link rel="stylesheet" href="{:C('VSHOP_CSS')}classify.css">
</head>
<body style="overflow: hidden;">
<header id="header" class="u-header clearfix">
	<div class="u-hd-left f-left">
    	<a href="javascript:history.go(-1)" class="J_backToPrev"><span class="u-icon i-hd-back"></span></a>
    </div>
    <span class="u-hd-nav">
    	<ul class="search_nav">
    		<li class="active">所有分类</li>
    	</ul>
    </span>
    <div class="u-hd-right f-right">
    	<a href="__APP__" mars_sead="nav_home_btn"><span class="u-icon i-hd-home"></span></a>
    </div>
</header>
<section class="m-category">
	<div class="category-nav" id="category-nav" style="height: 980px; overflow: hidden;">
		<ul class="category-nav-inner" style="transform-origin: 0px 0px 0px; position: absolute; top: 0px; left: 0px;">
			
            <foreach name='levelone' item='type'>
            <li class="z-selected">
				<span>{$type['typename']}</span>
			</li>
			</foreach>
		</ul>
	</div>
	<div class="category-content">
		<div class="category-content-inner" id="category-content" style="height: 692px;">
			<div class="category-content-scroll">
                <foreach name='levelsec' item='sectype'>
            <!--内容start-->
				<ul class="category-content-list" <if condition="$sectype['sort'] neq 0">style='display:none' </if> >
                   
                    <foreach name='sectype' item='value'>
                    <li>
                        <a href="">
                            <!-- <p class="pic">
                                <img class="scroll-lazyload" src="images/classify/01.jpg" alt="羽绒服" style="display: inline;">
                            </p> -->
                            <span><a href="{:U('Lists/index',array('brandid'=>0,'typeid'=>$value['typeid']))}"> {$value.typename}</a> </span>
                        </a>
                    </li>
                    </foreach>
				</ul>
            <!--内容end-->
               </foreach>
			</div>
		</div>
	</div>
</section>
<script src="http://libs.baidu.com/jquery/1.9.0/jquery.js"></script>
<script type="text/javascript">
    $(".category-nav li").click(function(){
    $(".category-nav li").removeClass("z-selected");
    $(this).addClass("z-selected");
    $(".category-content-list").eq($(this).index()).show().siblings().hide();
})
</script>
</body>
</html>